package com.dawn.module.hospital.controller.app.chs.vo;

import com.dawn.module.hospital.controller.app.base.vo.ReqVO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotBlank;

/**
 * @description:
 * @author: cnsu-cmh
 * @time: 2024/8/8 18:17
 */
@Schema(description = "医保移动支付授权-获取用户信息 APP - Request VO")
@Data
@ToString(callSuper = true)
public class ChsOauthUserReqVO extends ReqVO {

    @NotBlank(message = "应用类型不能为空")
    @Schema(description = "应用类型",example="WX")
    private String appType;

    @NotBlank(message = "用户标识userId不能为空")
    @Schema(description = "用户标识")
    private String userId;

    @Schema(description = "医保配置id")
    private Long chsConfigId;

    @NotBlank(message = "订单编号不能为空")
    @Schema(description = "订单编号")
    private String orderNumber;

    @NotBlank(message = "openid不能为空")
    @Schema(description = "openid")
    private String openid;

    @NotBlank(message = "授权码不能为空")
    @Schema(description = "授权码")
    private String authCode;


}
